package com.cnpinxi.dao;

import com.cnpinxi.domain.Order;

import java.util.List;
import java.util.Map;

public interface OrderMapper {


    int insertOrder(Order record);


    Order getOrderById(Long orderId);

    List<Order> getOrderByUserId(Long userId);

    List<Order> getOrderList(Map<String, String> map);

    Order getOrder(Map<String, String> map);

    int updateOrderByPrimaryKeySelective(Order record);

    int updateOrderById(Order record);
}